from django.conf.urls.defaults import *


urlpatterns = patterns('counterpoint.views.admin',

    url(r'^groups/edit/(?P<group_id>\d+)/$',
            'forumgroup_add_edit', name='cp_admin_group_edit'),

    url(r'^groups/add/$',
            'forumgroup_add_edit', name='cp_admin_group_add'),

    url(r'^groups/(?P<group_id>\d+)/forum/edit/(?P<forum_id>\d+)/$',
            'forum_add_edit', name='cp_admin_forum_edit'),

    url(r'^groups/(?P<group_id>\d+)/forum/add/$',
            'forum_add_edit', name='cp_admin_forum_add'),

    url(r'^$',
            'forum_list', name='cp_admin_forum_list'),
)
